Skip to content

build: hide symbols by default - #60

Merged
LimiNode merged 1 commit into
mainfrom
codex/introduce-hmac_cpp_api-for-function-exports
Sep 5, 2025
Merged

build: hide symbols by default#60
LimiNode merged 1 commit into
mainfrom
codex/introduce-hmac_cpp_api-for-function-exports

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 5, 2025

Copy link
Copy Markdown
Owner

Summary

  • add HMAC_CPP_API visibility macro and annotate public APIs
  • hide unannotated symbols by enabling -fvisibility=hidden

Testing

  • ctest --test-dir build_static --output-on-failure
  • ctest --test-dir build_shared --output-on-failure
  • nm -gD build_shared/libhmac_cpp.so | grep ' T ' | head -n 20

https://chatgpt.com/codex/tasks/task_e_68bb56e8bbb0832c8536853a73bb7802

Introduce HMAC_CPP_API macro for exported functions and enable compiler options to hide other symbols.
@LimiNode
LimiNode merged commit cf3cb42 into main Sep 5, 2025
8 checks passed
@LimiNode
LimiNode deleted the codex/introduce-hmac_cpp_api-for-function-exports branch September 6, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant